package interface_test.youyong;


/**
 * 狗是可以跑又可以游泳的
 */
public class Dog implements Run,Swim{
    @Override
    public void run() {
        System.out.println("狗在跑");
    }

    @Override
    public void swim() {
        System.out.println("狗在游泳");
    }
}
